/*
 * AskDiagramNameAndType.h
 *
 *  Created on: 05/05/2013
 *      Author: juan
 */

#ifndef ASKDIAGRAMNAMEANDTYPE_H_
#define ASKDIAGRAMNAMEANDTYPE_H_

#include <iostream>
#include "gtkmm/dialog.h"
#include "gtkmm/entry.h"
#include "gtkmm/label.h"
#include "gtkmm/frame.h"


class AskDiagramNameAndType {
public:
    AskDiagramNameAndType(std::string name);
    virtual ~AskDiagramNameAndType();
    std::string askName();
    int askType();

private:
    Gtk::Dialog m_dialog;
    Gtk::Entry m_nameEntry;
    Gtk::Label m_label;

    Gtk::RadioButton::Group m_radio;
    Gtk::RadioButton* m_radioButtons[2];
};

#endif /* ASKDIAGRAMNAMEANDTYPE_H_ */
